/*
 * @Author: WangLong
 * @Date: 2024-05-08 10:09:51
 * @LastEditTime: 2024-05-08 16:11:51
 * @LastEditors: WangLong
 * @Description:
 * @FilePath: \front_erp\src\api\seal\circulation.js
 */
import request from "@/utils/request";

// 查询非合同用印列表
export function getNonConSealListApi(query, data) {
  return request({
    url: "/system/nonConSeal/list",
    method: "post",
    params: query,
    data,
  });
}

//新增非合同用印
export function nonConSealAdd(data) {
  return request({
    url: "/system/nonConSeal/add",
    method: "post",
    data,
  });
}
//编辑非合同用印
export function nonConSealEdit(data) {
  return request({
    url: "/system/nonConSeal/edit",
    method: "post",
    data,
  });
}
//审核时编辑非合同用印
export function nonConSealEditInfo(data) {
  return request({
    url: "/system/nonConSeal/editInfo",
    method: "post",
    data,
  });
}
// 获取非合同用印详细信息
export function nonConSealDeatil(params) {
  return request({
    url: `/system/nonConSeal/getInfo`,
    method: "get",
    params,
  });
}
// 删除非合同用印
export function deleteNonConSealId(nonContractSealId) {
  return request({
    url: `/system/nonConSeal/remove`,
    method: "get",
    params: { nonContractSealId },
  });
}
//审核非合同用印-撤回非合同用印
export function nonConSealCheck(data) {
  return request({
    url: "/system/nonConSeal/check",
    method: "post",
    data,
  });
}

// 审核进度
export function selectAuditList(deliveryApplyId) {
  return request({
    url: `/system/nonConSeal/selectAuditList`,
    method: "get",
    params: { deliveryApplyId },
  });
}

//撤回非合同用印
export function nonConSealCancel(data) {
  return request({
    url: "/system/nonConSeal/cancel",
    method: "post",
    data,
  });
}
